import 'package:build/build.dart';
import 'package:method_info_generator/src/MethodInfoGenerator.dart';
import 'package:source_gen/source_gen.dart';

Builder methodInfo(BuilderOptions options, {bool requiredParameters = true}) =>
    SharedPartBuilder([MethodInfoGenerator(requiredParameters: requiredParameters)], 'method_info');
